<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<s:layout-definition>
    <div id="dashboard-add-client-modal" class="modal hide fade" role="dialog">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h3>Creator</h3>
    </div>
    <s:form id="dashboard-add-client-form"
            beanclass="edu.citadel.presentation.action.ClientManagerAction"
            method="post"
            class="modal-form">
        <div class="modal-body">
            <p>Add Client:</p>

        <div class="describe-client-all-fields">
            <div class="control-group">
                <label class="control-label">First Name</label>
                <div class="controls">
                    <input class="describe-client-first-name" type="text" name="client.firstName" value="${client.firstName}" placeholder="Enter first name..."/>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Last Name</label>
                <div class="controls">
                    <input class="describe-client-last-name" type="text" name="client.lastName" value="${client.lastName}" placeholder="Enter last name..."/>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Address</label>
                <div class="controls">
                    <input class="describe-client-address" type="text" name="client.address" value="${client.address}" placeholder="Enter client address..."/>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Phone #</label>
                <div class="controls">
                    <input class="describe-client-phone" type="text" name="client.phone" value="${client.phone}" />
                </div>
            </div>

            <div class="control-group" id="describe-client-personalNotes-${client.contactId}">
                <label class="control-label">Personal Notes</label>
                <div class="control-group enhancement-describe-content-contributor-bio-group">
                    <textarea class="describe-client-personal-notes"
                              name="client.personalNotes">${client.personalNotes}</textarea>
                </div>
            </div>
            <input type="hidden" name="_eventName" value="editClient"/>
        </div>

        <div class="modal-footer">
            <button class="btn" data-dismiss="modal">Cancel</button>
            <button id="describe-client-save-button"
                    class="btn btn-primary">Add</button>
        </div>
    </s:form>
</s:layout-definition>
